package com.scorpio.scbasics.rediostation.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scorpio.common.annotation.Excel;
import com.scorpio.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 biz_jpush
 *
 * @author scorpio
 * @date 2020-10-14
 */
@Data
@TableName("biz_jpush")
public class BizJpushDTO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long user_id;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String registration_id;

    /**
     * $column.columnComment
     */
    private Date create_time;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ios_release_push;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("user_id", getUser_id())
                .append("registration_id", getRegistration_id())
                .append("create_time", getCreate_time())
                .append("ios_release_push", getIos_release_push())
                .toString();
    }
}
